package com.wnxy.carl.carlorderassembly.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.carl.carlorderassembly.entity.BusinessFlow;
import com.wnxy.carl.dto.BusinessFlowDTO;
import com.wnxy.carl.dto.PageDTO;
import com.wnxy.carl.param.IncreaseBusinessFlowParam;
import com.wnxy.carl.param.PageParam;

/**
 * <p>
 * 业务订单执行步骤表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-11-12
 */
public interface IBusinessFlowService extends IService<BusinessFlow> {

    //查看业务流程 PageDTO<BusinessFlowDTO>
    public PageDTO<BusinessFlowDTO> seeBusinessFlow(PageParam<Integer> pageParam);
    //修改业务流程 BusinessFlowDTO
    public BusinessFlowDTO amendBusinessFlow(Integer flowId, Integer flowStatus);
    //删除业务流程 Boolean
    public void cancelBusinessFlow(Integer flowId);
    //添加业务流程 BusinessFlowDTO
    public BusinessFlowDTO increaseBusinessFlow(IncreaseBusinessFlowParam businessFlowParam);

}
